package cn.stazxr;

import cn.stazxr.component.ImageView;

import java.awt.*;
import java.io.IOException;

/**
 * Package: cn.stazxr
 * ClassName: Test
 *
 * @Author: stazxr
 * @Create: 2023/12/9
 * @Version: v1.0
 **/
public class Test {
    public static void main(String[] args) throws IOException {
        Frame frame = new Frame("Test");
        frame.setBounds(200, 50, 897, 754);
        frame.setAlwaysOnTop(true);

        frame.setIconImage(Toolkit.getDefaultToolkit().getImage("E:\\geniser\\tm\\1000-1_clear.png"));

//        frame.setLayout(null);

        ImageView imageView = new ImageView("E:\\geniser\\tm\\1000-1_clear.png");
//        imageView.setBounds(20, 30, 448,377);
        frame.add(imageView);

        frame.setVisible(true);
    }
}
